package cn.tedu.boot.demo.mapper;

import cn.tedu.boot.demo.entity.Admin;
import cn.tedu.boot.demo.vo.AdminLoginVO;
import org.springframework.stereotype.Repository;


@Repository
public interface AdminMapper {
    int insert(Admin admin);

    Admin getByUsername(String username);
    AdminLoginVO getLoginInfoByUsername(String username);
}
